#pragma warning(disable: 4996)
#pragma warning(disable: 6031)

#include <stdio.h>

int main()
{
	int n = 4;
	int m = 0;
	for (int i = n; i > 0; --i, ++m)
	{
		for (int j = 0; j < m; ++j)
			printf(" ");
		printf("*");
		for (int j = 1; j < i; ++j)
			printf(" *");
		printf("\n");
	}
	return 0;
}